package cn.kane.visitor;

public class NumberElement implements IElement {

	private Integer value ;
	
	public NumberElement(Integer value){
		this.value = value ;
	}
	
	@Override
	public void accept(IVisitor visitor) {
		visitor.numberVisitor(this);
	}

	@Override
	public Object getValue() {
		return this.value;
	}

}
